/**
 * 
 */
package com.vision.core.sv.serv.dispatch;

import java.util.List;

import net.customware.gwt.dispatch.server.ActionHandler;
import net.customware.gwt.dispatch.server.DefaultActionHandlerRegistry;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * @author Mark
 *
 */
@Component
public class GileadActionHandlerRegistry extends DefaultActionHandlerRegistry {
	
	@Autowired
    public void setHandlers(List<ActionHandler<?, ?>> handlers) {
        for (ActionHandler<?, ?> actionHandler : handlers) {
            addHandler(actionHandler);
        }
    }

}
